package com.buba.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.buba.pojo.Vendor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 厂商表 Mapper 接口
 * </p>
 *
 * @author MrJia
 * @since 2020-10-29
 */
@Repository
public interface VendorMapper extends BaseMapper<Vendor> {
    //    public List<Vendor> selectListByCondition();
    public IPage<Vendor> selectListByCondition(@Param("page") Page<Vendor> page, @Param("vendor") Vendor vendor);
}
